import { useId } from "react"


export default function Id () {
  const id = useId()

  return (
    <div>
      <h1>useId</h1>
      <div>id: {id}</div>
      <label htmlFor={id}>点击聚焦</label>
      <input id={id} />
    </div>
  )
}